package com.bluesky.plum.uimodels.render.html.components.containers.window;

public class Event {

	public static String Close = "CLOSE";
	
	private String componentId;
	private String name;

	/**
	 * it is to be notified when time is for render
	 */
	private Object servletThread;

	public Event(String componentId, String name, Object servletThread) {
		this.componentId = componentId;
		this.name = name;
		this.servletThread = servletThread;

	}

	public String getComponentId() {
		return componentId;
	}

	public void setComponentId(String componentId) {
		this.componentId = componentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object getServletThread() {
		return servletThread;
	}

	public void setServletThread(Object servletThread) {
		this.servletThread = servletThread;
	}

	@Override
	public String toString() {
		
		return String.format("%s.%s()", componentId,name);
	}
}
